<!-- 右侧内容区域 -->
{include file="common/right_nav" recommend="文章" }

  <!-- 主要内容 -->
  <div class="main article">
      <!--<div class="layui-tab layui-tab-brief" lay-filter="subtab">-->
          <!--<ul id="tabBox" class="layui-tab-title"></ul>-->
          <!--<div class="layui-tab-content"></div>-->
      <!--</div>-->
      {volist name="data.data" id="item" empty="$empty" }
      <div class="item">
          {empty name="$item.pic"}
          <!--<img width="240" height="170" src="__INDEX__/img/default.jpg" alt="暂时没有缩略图">-->
          {else /}
          <img width="240" height="170" src="{$item.pic}" alt="{$item.title}">
          {/empty}
          <div class="item-content" style="height: 170px;" >
              <h3>{$item.title}</h3>
              {volist name=":explode(',',$item.keywords)" id="v"}
              <a target="_self" target="_self" href="/search/search_name/{$v}.html"><span class="Subtitle">{$v}</span></a>
              {/volist}
              <br/>

              <p>{$item.digest}</p>
              <a target="_self" href="/article/read/{$item.id}.html" target="_blank" title="{$item.title}" >
                  <button class="layui-btn">阅读全文</button>
              </a>
          </div>
          <div class="date-box">
              <div class="date">
                  <h4>{$item.create_time|date="d",###}</h4>
                  <span>{$item.create_time|date="Y/m",###}</span>
              </div>
          </div>
      </div>
      {/volist}

      <!--分页-->
      {php}
      $pageMethod = '/search';
      {/php}
      {include file="common/page" }
  </div>
